package org.diffshop.product.dao;

import org.apache.ibatis.annotations.Param;
import org.diffshop.product.entity.CategoryBrandRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * 品牌分类关联
 *
 * @author tjf
 * @date 2024-05-13 10:35:49
 */
@Mapper
public interface CategoryBrandRelationDao extends BaseMapper<CategoryBrandRelationEntity> {
    void updateCategory(@Param("catId") Long catId, @Param("name") String name);

    void updateBrand(@Param("brandId") Long brandId, @Param("name") String name);
}
